package com.example.pfe;

public class Personne {
	
	   private String raisonsociale;
	   private int telephone;
	   private int fax;
	   private String email;
	   private String adresse;
	   
	   public String getraisonsociale() { return raisonsociale;  }
	   public void setraisonsociale(String raisonsociale) { this.raisonsociale = raisonsociale;  }

	   public int gettelephone() { return telephone; }
	   public void settelephone(int telephone) { this.telephone = telephone; }
	   
	   public int getfax() { return fax; }
	   public void setfax(int fax) { this.fax = fax; }

	   public String getemail() { return email; }
	   public void setemail(String email) { this.email = email ;}

	   public String getadresse() { return adresse;  }
	   public void setadresse(String adresse) { 
	      
	      this.adresse = adresse.toString(); 
	   }

	   @Override
	   public String toString() {
	      return  raisonsociale + ", " + telephone + ", "+ fax + ", " + email+ " (" + adresse + ')';
	   }
	
}
